<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<script type="text/javascript">
			//原样输出
			alert("<h1 style='color: red;'>我是输出工具</h1>");
			
			//可以进行解析
			document.write("<h1 style='color: red;'>我是输出工具</h1>");
			
			//输入框
			prompt('请输入您的年龄','18岁');
		</script>
	</head>
	<body>

	</body>
</html>
